﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using DevExpress.LookAndFeel;

namespace PRE
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            DevExpress.Skins.SkinManager.EnableFormSkins();
            DevExpress.UserSkins.BonusSkins.Register();
            UserLookAndFeel.Default.SetSkinStyle("DevExpress Style");

            var bbb = new DAL.KhoaDAL();
            var k = new DAL.Entities.Khoa { Makhoa = "a", Tenkhoa = "CNTT" };
            //var l = new DAL.Entities.Lophoc() { MaKhoa = "a", KhoaId = "a",  Malop = "xx", Tenlop = "uuuu" };
            //k.Lophocs.Add(l);

            
            bbb.Insert(k);
            

            
            
            Application.Run(new FrmExplorer());
        }
    }
}